package com.chixing.day06;
/**
 * 继承 inherited
 * 1. 为了[减少代码的冗余性],把重复的属性、方法封装到 父类中
 * 2. 若再有其他账户类型，直接继承父类即可，提高了业务的[可维护性]
 *
 */
public class SavingAccount  extends Account{

    public SavingAccount(){}

    public SavingAccount(long accountNum, String accountName,
                         String accountPersonId, long accountTelno,
                         float accountBalance, String accountPassword) {
        super(accountNum, accountName, accountPersonId,
                accountTelno, accountBalance, accountPassword);
    }
}